//
//  main.c
//  栈
//
//  Created by 卜绎皓 on 2022/6/25.
//

#include"Stack.h"

int main()
{
    ST st;
    StackInit(&st);//初始化
    StackPush(&st, 1);//插入数据
    StackPush(&st, 2);
    StackPush(&st, 3);
    StackPush(&st, 4);
    StackPush(&st, 5);
    StackPop(&st);//删除数据
    StackPop(&st);
    printf("%d\n",StackSize(&st));
    //StackTop(&st);
    //StackDestory(&st);
    return 0;
}

